home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000948_blair@olympia.gps.caltech.edu_Fri Sep 16 03:42:23 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from olympia.gps.caltech.edu by cs.umb.edu with SMTP id AA13916
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 16 Sep 1994 13:42:30 -0400
  3. Received: (from blair@localhost) by olympia.gps.caltech.edu (8.6.9/8.6.9) id KAA00842 for tex-k@cs.umb.edu; Fri, 16 Sep 1994 10:42:23 -0700
  4. Date: Fri, 16 Sep 1994 10:42:23 -0700
  5. From: Blair Zajac <blair@olympia.gps.caltech.edu>
  6. Message-Id: <199409161742.KAA00842@olympia.gps.caltech.edu>
  7. To: tex-k@cs.umb.edu
  8. Subject: xdvi 18b on Solaris
  9. Content-Length: 2334
  10.  
  11. Hi,
  12.  
  13. I've had a couple of problems compiling xdvi-18b on a Solaris 2.3
  14. system when I add -DPS_DPS and -DSELFILE to the DEFS line in
  15. Makefile.in.
  16.  
  17. xgetcwd.c looks for
  18. #include <kpathsea/dir.h>
  19. which does not exist.  When this include is removed, I get this error:
  20. "xgetcwd.c", line 76: undefined symbol: DIR
  21. Including dirent.h fixed this problem.
  22.  
  23. When compiling psdps.c, this error appears:
  24. cc  -I. -I./../xdvik -I.. -I./../xdvik/.. -I/usr/openwin/include -DBUTTONS
  25.     -DPS_GS -DSELFILE -DPS_DPS   -O -xlibmil -c psdps.c
  26. "./xdvi.h", line 356: syntax error before or at: FILE
  27. "./xdvi.h", line 356: cannot recover from previous errors
  28. cc: acomp failed for psdps.c
  29.  
  30. Including stdio.h removed this problem, but compilation showed another
  31. problem:
  32. "./xdvi.h", line 539: undefined or not a type: jmp_buf
  33. Including setjmp.h got this to work fine.
  34.  
  35. And finally, the DPS include files could not be found using the -I
  36. paths selected by configure.  On Solaris, the DPS include directory is
  37. in /usr/openwin/include/X11.
  38.  
  39. Compiling without -DPS_GS and with -DPS_GS has an unresolved symbol at
  40. link time of the xpipe routine.  Is this recommended to use DPS
  41. without gs?  Maybe psgs.c should be surrounded by a #ifdef PG_GS
  42. #endif pair.
  43.  
  44. When I did link xdvi using dps, I was unable to view any of the
  45. PostScript files in DPS.  I have no idea what the problem may be or
  46. how to find the cause of this problem.
  47.  
  48. Unfortunately, the libdps.so library on Solaris needs the symbol isinf
  49. which is only found in SparcCompiler's libsunmath.a.
  50.  
  51. I can cause xdvi to dump a core by running it on a dvi file and then
  52. clicking on the file button, then the cancel button, and clicking on
  53. the cancel button once again when the file selection box pops up once
  54. again.
  55.  
  56. Aside from this, I'm really impressed with the speed improvements in
  57. xdvi and the inclusion of color PostScript figures.
  58.  
  59. I have a question about the kpathsea library.  Considering that both
  60. dvips and xdvi use this library, I've considered making it a shared
  61. library and having both programs dynamically linking against it.  I'm
  62. wondering how stable the interface to this library is and if you think
  63. this is good idea.
  64.  
  65. The second to last link shows something that looks something like your
  66. personal email address, but doesn't seem to be: kbcs.umb.edu.
  67.  
  68. I hope you find these comments useful.
  69.  
  70. Blair